package com.stock.collection;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author HuangChuQin
 * @ClassName: ConsumerClientApplication
 * @Description: 项目启动文件
 * @date 2020/6/30 1:22
 */
@SpringBootApplication
@ServletComponentScan
@EnableDiscoveryClient
@RefreshScope
public class StockCollectionApplication {
    public static void main(String[] args) {
        SpringApplication.run(StockCollectionApplication.class, args);
    }
}
